package modelo.entidad;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name="laboratorio2",schema="public")
@PrimaryKeyJoinColumn(name="id")
public class Laboratorio2 {

	@Id    
	@SequenceGenerator(name="SeqId", sequenceName="public.costo_id_seq", allocationSize=1)	
	@GeneratedValue(generator="SeqId")
	private int id;
	
	@Column(name="descripcion")
	private String descripcion;
	
	@Column(name="defensa")
	private String defensa;
	
    @Transient
	private boolean editingStatus = false;

	
	public Laboratorio2() {
		super();
		// TODO Auto-generated constructor stub
	}


	public Laboratorio2(int id, String descripcion, String defensa) {
		super();
		this.id = id;
		this.descripcion = descripcion;
		this.defensa = defensa;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getDescripcion() {
		return descripcion;
	}


	public void setDescripcion(String descripcion) {
		this.descripcion = descripcion;
	}


	public String getDefensa() {
		return defensa;
	}


	public void setDefensa(String defensa) {
		this.defensa = defensa;
	}
	
	public boolean getEditingStatus() {
		return editingStatus;
	}

	public void setEditingStatus(boolean editingStatus) {
		this.editingStatus = editingStatus;
	}

	
}
